using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEditor.UI;
using UnityEngine.UI;

public class UIControl : MonoBehaviour
{
    public Text flightTip;
    // Start is called before the first frame update
    void Start()
    {
        
    }

    // Update is called once per frame
    void Update()
    {
        
    }
    void FixedUpdate()
    {
        flightTip.text="飞翔距离："+Mathf.Round(GMGlobal.Instance.flight*100)/100+"米";
    }
}
